<?php
/**
 * Smarty plugin codded by 3code Team
 * @package smarty
 * @subpackage plugins
 */


/**
 * Smarty bit or operation plugin
 *
 * Type:     modifier<br>
 * Name:     bitwise_or<br>
 * Purpose:  make or bit operation
 * Example:  {$var|strip} {$var|strip:16}
 * Date:     February 14th, 2010
 * @author   3code Team 
 * @version  1.0
 * @param int
 * @param int
 * @return bool
 */
function smarty_modifier_bitwise_or($one, $two ) {
    return ( (int)( (int)$one | (int)$two ) )? true: false ;
}

/* vim: set expandtab: */

?>
